package constant

type App struct {
	Name   string
	Port   string
	Env    string
	DbType string
}

type Log struct {
	Level string
	Dir   string
	Name  string
}

type ALiYunOss struct {
	Endpoint     string
	AccessKey    string
	AccessSecret string
	BucketName   string
	Domain       string
}

type Login struct {
	User string
	Pass string
}

type Mysql struct {
	User    string
	Pass    string
	Ip      string
	Port    int64
	DbName  string
	Charset string
	ShowSQL bool
}

type TomlConfig struct {
	App       App
	Log       Log
	ALiYunOss ALiYunOss
	Login     Login
	Mysql     Mysql
}

var Config TomlConfig
